﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="WorkLog-List.aspx.cs" Inherits="SmartSpace.WebApp.Modules.OA.Pages.WorkLog_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server"><div class="ss-tbar">
        <table cellspacing="0" cellpadding="0">
            <tr>
                <td>
                    <asp:HyperLink ID="_ctlLinkCreate" runat="server" NavigateUrl="~/Modules/OA/Pages/WorkLog-Write.aspx">填写</asp:HyperLink>
                </td>
            </tr>
        </table>
    </div>
     <div>
         <table class="ss-list" style="width:100%;" cellspacing="0" cellpadding="0">
             <tr>
                 <th style="width:100px;">
                     日期
                 </th>
             </tr>
             <asp:Repeater ID="_ctlList" runat="server">
                 <ItemTemplate>
                     <tr>
                         <td>
                             <a href='<%# this.ResolveClientUrl("~/Modules/OA/Pages/WorkLog-Detail.aspx?date="+ ((DateTime)Container.DataItem).ToString("yyyy-MM-dd")) %>' Target="_blank"><%# Container.DataItem.ToString() %></a>
                         </td>
                     </tr>
                 </ItemTemplate>
             </asp:Repeater>
         </table>
     </div>
</asp:Content>
